<?php
/**
 * Created by PhpStorm.
 * User: lenovo
 * Date: 2018/10/6
 * Time: 16:51
 */
include "config.php";
$c_name=$_REQUEST["c_name"];
$uid=$_REQUEST["uid"];
$sql="DELETE FROM cart WHERE c_name='".$c_name."' AND u_id=".$uid."";
$link->query($sql);
$link->close();
print_r("true");